Chapter 7 - Troubleshooting Using OpenMP : Portable Shared Memory Parallel Programming
نویسنده
چکیده
OpenMP has several safety nets to help avoid this kind of bug. But OpenMP cannot prevent its introduction, since it is typically a result of faulty use of one of the directives. For example it may arise from the incorrect parallelization of a loop or an unprotected update of shared data. In this section we elaborate on this type of error, commonly known as a data race condition. This is sometimes also referred to simply clS CL data race or race condition.
منابع مشابه
Porting and performance evaluation of irregular codes using OpenMP
In the last two years, OpenMP has been gaining popularity as a standard for developing portable shared memory parallel programs. With the improvements in centralized shared memory technologies and the emergence of distributed shared memory (DSM) architectures, several medium-to-large physical and logical shared memory con gurations are now available. Thus, OpenMP stands to be a promising medium...
متن کاملOvercoming performance bottlenecks in using OpenMP on SMP clusters
This paper presents a new parallel programming environment called ParADE to enable easy, portable, and high-performance computing for SMP clusters. Different from the prior studies, ParADE separates the programming model from the execution model: it enables shared-address-space programming while it realizes hybrid execution of message-passing and shared-address-space. To overcome the poor perfo...
متن کاملPerformance Analysis and Improvement of OpenMP on Software Distributed Shared Memory Systems
In this paper, the performance of the portable OpenMP compiler on SDSM JIAJIA is analyzed using SPEC OMPM2001 benchmark. The overheads of parallel execution have been investigated from the aspects of thread management and task schedule, memory access and synchronization. To improve the performance, the page placement and data privatization techniques have been implemented for the optimization o...
متن کاملMeta Process Model and its Portable Parallel Programming Interface MpC
This paper proposes a new portable parallel programming interface MpC, Meta process C, for Meta Process Model. The Meta Process Model is a parallel programming padadigm based on a hierarchical shared memory model and an explicit description of parallelism On these points, this model is different from either the strict Shared Memory Model (SMM) or the Message Passing Model (MPM). The Meta Proces...
متن کاملParallel computing using MPI and OpenMP on self-configured platform, UMZHPC.
Parallel computing is a topic of interest for a broad scientific community since it facilitates many time-consuming algorithms in different application domains.In this paper, we introduce a novel platform for parallel computing by using MPI and OpenMP programming languages based on set of networked PCs. UMZHPC is a free Linux-based parallel computing infrastructure that has been developed to cr...
متن کامل